package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author Administrator
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    /**
     * 获取当前用户下的购物车数据
     * @return
     */
    @GetMapping("/user/cart")
    List<OrderItemVo> getUserCartItems();
}
